package sim16;

public class RegisterIndexOutOfBoundsException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5897988415960173089L;

	int num;
	
	public RegisterIndexOutOfBoundsException() {};
	/**
	 * num is the array index used that caused this exception to be thrown.
	 * @param num
	 */
	public RegisterIndexOutOfBoundsException(int num) {
		this.num = num;
	}
	
}
